package com.cn.wanxi.thread;

public class MyThread extends Thread {
    public MyThread() {
    }

    public MyThread(String name) {
        super("线程名字为" + name);
    }

    @Override
    public void run() {
        System.out.println(super.getName() + "-----------");
    }

}
